package com.mingqijia.gassafety.webserver.response.client;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "报警故障记录")
public class H5LogRes {

    @ApiModelProperty("设备号")
    private String imei;

    @ApiModelProperty("事件时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date eventTime;

    @ApiModelProperty("事件时间")
    private String eventTimeStr;

    @ApiModelProperty("事件类型 1-报警 2-故障 3-离线")
    private Integer eventType;

    @ApiModelProperty("事件原因")
    private String eventInfo;

    @ApiModelProperty("报警时长,离线时长")
    private String warnDuration;

    @ApiModelProperty("报警处理状态 0-未处理 1-报警已处理 ")
    private Integer status;

}
